<?php

/*
*###########################################################################################################################*
#															    															#
#															    															#
#    **  ** ****** ** **  **  ****** ** ***   ** ***   ****** ** **  **  ** **  ** ** **  **    ****   ** **  **  ******    #
#    **  ** ****** ********** ****** *******  *******  ****** ********** ** **  ** **********  ******  ********** ******    #
#    **  ** **  ** **  **  ** **     ***   ** **    ** **     **  **  **    **  ** **  **  ** ***   ** **  **  ** **        #
#    ****** **  ** **  **  ** ****** **   *** **   *** ****** **  **  ** ** **  ** **  **  ** **       **  **  ** ******    #
#    ****** **  ** **  **  ** ****** *******  *******  ****** **  **  ** ** **  ** **  **  ** **       **  **  ** ******    #
#    **  ** **  ** **  **  ** **     *****    ******   **     **  **  ** ** **  ** **  **  ** ***   ** **  **  **     **    #
#    **  ** ****** **  **  ** ****** **       **  ***  ****** **  **  ** ** ****** **  **  **  ******  **  **  ** ******    #
#    **  ** ****** **  **  ** ****** **       **   *** ****** **  **  ** **  ** ** **  **  **   ****   **  **  ** ******    #
#															    															#
#															    															#
#															    															#
#    2010 - 2011 © HomePremiumCMS made by HomePemium as PremiumEye & Security by HomePremium and Merijnz		    		#
#															    															#
#    Powered by PhoenixPHP 3.7.1 (build 138000)										    									#
#															    															#
#															    															#
#															    															#
*###########################################################################################################################*
*/

define('USERNAME_REQUIRED', TRUE);
define('ACCOUNT_REQUIRED', TRUE);
include('global.php');
define("THIS_SCRIPT", 'vip');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 

<html xmlns="http://www.w3.org/1999/xhtml"> 
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<head>
<title><?php echo $sitename." - ".$lang['vip']; ?></title>
    <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
    <script type="text/javascript" src="Public/JS/jquery.history.js"></script>
    <link type="text/css" rel="stylesheet" href="Public/Styles/<?php echo $currentstyle ?>/CSS/main.css" />
	<link rel="stylesheet" href="css/lightweightmepage.css" type="text/css" />
</head> 
 
<body> 

<?php include("system/header_credits.php"); ?>

<div class="mainBox"> 

<?php include("system/creditsnav.php"); ?>

	<div class="mid" id="midcontent"> 

		<div class="column" id="column1" style="margin-right: -3px;">

			<?php
			$vipq = mysql_query("SELECT * FROM users WHERE vip = '1' ORDER BY id ASC");
			$teller = mysql_num_rows($vipq);
			?>

			<div class="l_boxHeader_blue">
        
				<div class="titel">
                
                Hotel VIPs (<?php echo $teller; ?>)
        
				</div>
        
			</div>
        
			<div class="contentBox">
    
				<div class="boxContent" style="max-height:600px;overflow:scroll;overflow-y:scroll;overflow-x:hidden;">

					<?php
					$staffq = mysql_query("SELECT * FROM users WHERE vip = '1' ORDER BY id ASC");

					$color = 'odd';

					while($staff = mysql_fetch_array($staffq))

					{
					?>

					<div class="campaigncontainer" id="<?php echo $color; ?>">

						<div class="StaffBox">

							<img src="http://www.habbo.com/habbo-imaging/avatarimage?figure=<?php echo $staff['look']; ?>" alt="<?php echo $staff['username']; ?>" style="float:left" />

							<div class="OnlineStatus">

								<?php if($staff['online'] == 1){?>

								<div class="Online"></div>

								<?php }else{?>

								<div class="Offline"></div>

								<?php }?>

							</div>

                            <div class="Usersname"><a href="home.php?u=<?php echo $staff['username']; ?>"><?php echo $staff['username']; ?></a></div>

							<div class="Usersmotto"><?php echo $staff['motto']; ?></div>

							<img src="./Public/Images/badges/VIP.gif" alt="Vip" />

						</div>

					</div>

					<?php
					if($color == 'odd')

					$color='even';

					else

					$color='odd';

					}
					?>

				</div>

			</div>

			<div class="l_boxBottom"></div>

		</div>
		
		<div style="float: left;" class="column" id="column2">

            <div style="margin-left: 5px;" class="m_boxHeader_green">

				<div class="titel">

					<?php echo $lang['vip_commands_title']; ?>

				</div>

			</div>

			<div style="margin-left: 5px; width: 298px;" class="contentBox">

				<div class="boxContent">

					<?php echo $lang['vip_benefits_text']; ?>

				</div>

			</div>

			<div style="margin-left: 5px;" class="m_boxBottom2"></div>

				<div style="margin-top: 10px; margin-left: 5px;" class="m_boxHeader_lightblue">

					<div class="titel">

						<?php echo $lang['buy_vip']; ?>

					</div>

				</div>

				<div style="margin-left: 5px; width: 298px;" class="contentBox">

					<div class="boxContent">

						<script type="text/javascript" src="http://www.mollie.nl/partners/js/694827.js"></script>

						<script type="text/javascript" src="http://www.mollie.nl/partners/js/694827.js"></script>

						<table>

							<div class="open enter-btn" style="display: table;">

								<a href="" onClick="alert('Wees er zeker van dat je via  http://zengohotel.8s.nl/ bent ingelogd (zonder www!)'),mbetaal('id=1035137');return false;"><div style="padding: 0px 20px 0px 20px;">

									Koop vip! <strong>Het kost &euro;3,00</strong></div><i></i>

								</a>

								<b></b>

							</div>

                        </table>

					</div>

				</div>

				<div style="margin-left: 5px;" class="m_boxBottom2"></div>

			</div>
		
			<?php include("system/sideads.php"); ?>

		</div> 

		<?php include("system/footer.php"); ?>

</div> 

</body> 
</html>